//路由映射


module.exports = [
    //图片上传
    ['/uploadimg', '/common/uploadimg', 'post'],
    ['/edituploadimg', '/common/edituploadimg', 'post'],

    //接口区域
    ['/createpainpoint', '/painpointv1/createpainpoint','post'],
    //公共信息
    ['/painpointdesc/:id', '/painpointv1/painpointdesc'],
    //轮播
    ['/carousel', '/painpointv1/carousel', 'get'],
    //当前痛点
    ['/painpoint', '/painpointv1/painpoint', 'post'],
    ['/painpointopensolution/:id', '/painpointv1/painpointopensolution', 'get'],
    ['/painpointunopensolution/:id', '/painpointv1/painpointunopensolution', 'get'],

    ['/modifypainpoint', '/painpointv1/modifypainpoint', 'post'],
    ['/painpointsolutionscount/:id', '/painpointv1/painpointsolutionscount', 'get'],
    ['/painpointsolutionscount', '/painpointv1/painpointsolutionscountmany', 'post'],
    ['/delpainpoint/:id', '/painpointv1/delpainpoint', 'delete'],
    ['/painpointsolutions/:id', '/painpointv1/painpointsolutions', 'post'],
    ['/solvtiondesc/:id', '/painpointv1/solvtiondesc', 'get'],
    ['/solutionscore/:id', '/painpointv1/solutionscore', 'post'],
    ['/userpainpoint/:id', '/painpointv1/userpainpoint', 'get'],
    ['/usersolution/:id', '/painpointv1/usersolution', 'get'],
    ['/addsolution/:id', '/painpointv1/addsolution', 'post'],
    ['/modifysolution', '/painpointv1/modifysolution', 'post'],
    ['/backsolution', '/painpointv1/backsolution', 'post'],

    //没有接口
    [/\/.*/, '/controller/notFind']

];
